package cn.le.vo;

import java.util.Date;
import java.util.List;

public class KafkaDownVO {

    private Long deviceId;

    private List<PropertyData> dataList;

    private Date collTime;

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public List<PropertyData> getDataList() {
        return dataList;
    }

    public void setDataList(List<PropertyData> dataList) {
        this.dataList = dataList;
    }

    public Date getCollTime() {
        return collTime;
    }

    public void setCollTime(Date collTime) {
        this.collTime = collTime;
    }

    public static class PropertyData{

        private Long propertyId;

        private String data;

        public Long getPropertyId() {
            return propertyId;
        }

        public void setPropertyId(Long propertyId) {
            this.propertyId = propertyId;
        }

        public String getData() {
            return data;
        }

        public void setData(String data) {
            this.data = data;
        }

        @Override
        public String toString() {
            return "PropertyData{" +
                    "propertyId=" + propertyId +
                    ", data='" + data + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "KafkaDownVO{" +
                "deviceId=" + deviceId +
                ", dataList=" + dataList +
                ", collTime=" + collTime +
                '}';
    }
}
